package com.gress.shop.dao;

import com.gress.shop.bo.Action;
import com.gress.shop.bo.example.ActionExample;

import java.util.List;

/**
 * Created xiongwen with 2018/3/6 15:22
 * Description:
 */
public interface IActionDao {

    int deleteByExample(ActionExample example);

    int deleteByPrimaryKey(String id);

    List<Action> selectByExample(ActionExample example);

    Action selectByPrimaryKey(String id);

    Action insertOrUpdate(Action record);

    boolean checkIsExist(String id);

}
